package com.asp.aspchain.transaction.disruptor;

import com.lmax.disruptor.EventTranslatorOneArg;
import org.web3j.protocol.core.methods.response.EthBlock;

public class ListenEventTranslator implements EventTranslatorOneArg<ListenDataEvent,EthBlock.Block> {
	@Override
	public void translateTo(ListenDataEvent event, long sequence, EthBlock.Block data) {
		event.setBlk(data);
	}
}
